home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Macintosh Demo Applications CD
/
Apple-MacintoshDemoApplicationsCD-1.0-1992.iso
/
More Information
/
QuicKeys
/
For Programmers Only.sea
/
Pascal Examples
/
sample.r
< prev
next >
Wrap
Text File
|
1991-06-22
|
2KB
|
70 lines
/*************************
$Workfile$
$Revision$
QuicKeys sample extension key definition
© 1990 CE Software, Inc. All rights reserved.
For QuicKeys 2 Extension Sample source code you have a royalty-free right
to include object code derived from this Sample source code in programs
that you develop. You also have the right to use, distribute, and license
such programs to third parties without payment of any further license fees
to CE Software, Inc., so long as a copyright notice sufficient to protect
your copyright for your software in the United States or any other country;
is included in the graphic display of your software and on the labels
affixed to the media on which your software is distributed.
WHEN WHO WHAT
•••••
9/5 mkg created file
6/17 mkg add balloon help example
•••••
*/
#include "types.r"
#include "systypes.r"
#include "balloontypes.r"
resource 'vers' (1) {
0x01, 0x10, release, 0x00, verUS,
"1.1",
"Sample External 1.1 ©1990-91 CE Software, Inc."
};
resource 'vers' (2) {
0x02,0x00,release, 0x00, verUS,
"2.0",
"QuicKeys 2™ Extension"
};
resource 'DITL' (-14348, purgeable) {
{ /* array DITLarray: 2elements */
/* [1] */ { 85, 140, 102, 190}, EditText { enabled, "" },
/* [2] */ { 85, 20, 105, 130}, StaticText { disabled, "Seconds to wait:" },
/* [3] */ { 0, 0, 0, 0}, HelpItem { disabled, HMScanhdlg {-14348} },
} };
resource 'hdlg' (-14348) {
HelpMgrVersion,
0, /* number of items to skip (filled in at run time) */
hmDefaultOptions, 0, 0, HMSkipItem{},
{ /* array DITLarray: 2elements */
/* [1] edittext item */
HMStringItem { { 0, 0}, {0, 0, 0, 0},
"Type a number in this field.",
"Type a number in this field.",
"", "" },
/* [2] static text item */
HMSkipItem{},
} };
data 'SICN' (-14348) {
$"00 00 04 00 06 00 05 00 04 80 04 78 04 78 04 78"
$"04 78 04 78 04 78 04 80 05 00 06 00 04 00 00 00"
};
include "SampleUI.QkyC";
include "SampleX.QkyC";